﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS_Quartz_Task._631
{
    /// <summary>
    /// 631项目定时通过光通讯查询RCS数据
    /// </summary>
    //public class OpticalRcsJob : IJob
    //{
    //    public async Task Execute(IJobExecutionContext context)
    //    {
    //        CancellationToken ct = CancellationToken.None;

    //        await Task.Run(async () => {
    //            JobDataMap data = context.JobDetail.JobDataMap;
    //            var scanProcess = data["RcsTimedJob"] as Func<string,Task>;
    //            var msg = data["SendMsg"]?.ToString();
    //            await scanProcess(msg);
    //        }, ct);
    //    }
    //}
}
